<?php include_once 'photo_header.php';?>
<!--主体内容-->
<div class="main">
	<?php include_once 'photo_left.php';?>

	<div class="photo_right">
    	<div class="photo_title">
        	<ul>
            <li><a href="index.php?mod=photo&code=my_new">最新照片</a></li>
            <li class="on"><a href="index.php?mod=photo&code=my_movement">我的动态</a></li>
            <li><a href="index.php?mod=photo&code=my">我的相册</a></li>
            </ul>
            <span><a href="javascript:void(0);" onClick="javascript:showfloat();">创建相册</a></span>
        </div>
	<?php foreach($message_new as $key => $val){ ?>
    	<div class="photo_message">
        <a href="###">我：</a> 上传了 <?php echo count($val);?> 张照片到相册 
			"<a href="index.php?mod=photo&code=album&id=<?php echo $val[0]['id'];?>"><?php echo $key;?></a>"
        </div>
        <div class="photo_list">
        	<ul>
		<?php foreach($val as $m){ ?>
            <li><a href="index.php?mod=photo&code=album&id=<?php echo $m['id']?>">
			<img src="upload/photo/<?php echo $m['picUrl'];?>" /><h2><?php echo $m['title'];?></h2></a></li>
        <?php } ?>
   			<div class="float_both"></div>
        </div>
        <div class="photo_title photo_title2">
        <?php echo $val[0]['addTime'];?> 来自聚友相册 
        <!--<span><a href="###">删除</a> | <a href="###">转发(373)</a> |  <a href="###">转载</a></span>-->
        </div>
    <?php } ?>
    </div>
    <div class="float_both"></div>

</div>
<!--底部-->
<?php include_once 'photo_album_div.php';?>
<?php include_once 'footer.php';?>
